package com.cnpinxi.dao;

import com.cnpinxi.domain.OrderItem;

import java.util.List;
import java.util.Map;

public interface OrderItemMapper {


    int insertOrderItem(OrderItem record);
    public OrderItem getOrderItemByOrderItemId(Long orderItemId);
    List<OrderItem> selectOrderItemListByOrderId(Long orderId);
    OrderItem selectOrderItemListByOrderItemId(Long orderItemId);
    List<OrderItem>  selectOrderItemList(Map<String, String> map);
    int updateByPrimaryKeySelective(OrderItem record);

    int updateOrderItemById(OrderItem record);
    int updateOrderItemStatus(Map<String, String> map);
}